package com.biostime.springdraw.modules.sd.service;

import org.springframework.stereotype.Service;

import com.biostime.springdraw.common.service.CrudService;
import com.biostime.springdraw.modules.sd.dao.SubscriberDao;
import com.biostime.springdraw.modules.sd.entity.Subscriber;
import org.springframework.transaction.annotation.Transactional;

/**
 * 订阅者Service
 * @author chenweicheng
 * @version 2016-05-17
 */
@Service
@Transactional
public class SubscriberService extends CrudService<SubscriberDao, Subscriber> {
	
	public Subscriber getByOpenid(String openid){
		return dao.getByOpenid(openid);
	}
	
}
